package cn.alm.mybatis01helloworld.mapper;

import cn.alm.mybatis01helloworld.entity.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmpMapper {

    Emp getEmpById(Integer id);

    List<Emp> getEmpList();

    void addEmp(Emp emp);

    void deleteEmpById(Integer id);

    void updateEmp(Emp emp);
}
